package com.aphrodite.io.sip.header;

import java.util.Vector;

/** SIP Header Allow */
public final class AllowHeader extends ListHeader {
	public AllowHeader(Header hd) {
		super(hd);
	}

	public AllowHeader(String hvalue) {
		super(SipHeaders.Allow, hvalue);
	}

	/** Adds a new method to the methods list. */
	public void addMethod(String method) {
		super.addElement(method);
	}

	/** Gets list of methods (as Vector of Strings). */
	public Vector getMethods() {
		return super.getElements();
	}

	/** Sets the list of methods. */
	public void setMethod(Vector methods) {
		super.setElements(methods);
	}
}
